package com.ruoyi.forum.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.forum.domain.CircleTopic;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 帖子Mapper接口
 */
public interface CircleTopicMapper extends BaseMapper<CircleTopic> {
    List<CircleTopic> getTopicOfMe(@Param("uid") String uid, @Param("pageSize") Integer rows, @Param("pageFirst") int pageFirst);

    long getTopicOfMeCount(@Param("uid") String uid);
}